const { DataTypes } = require('sequelize/dist');
const sequelize = require('../config/sequelize');

const Types = sequelize.define('types', {
  id: {
    type: DataTypes.INTEGER,
    allowNull: false,
    primaryKey: true,
    autoIncrement: true,
  },
  name: {
    type: DataTypes.STRING,
  },
});

module.exports = Types;
